from ftllibs.items.itemtools import ItemIconData

class Item_3026():
    def __init__(self):
        self.parent=False
        self.Name="Guardian Angel"
        self.IconFileName="3026.png"
        self.ID=3026
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1033','1029','1031']
        self.Builds_Into=[]
        self.Tags=['spell_block','armor']
        self.Costs = 1200
        self.Total_Costs = 2600
        self.Description="+68 Armor +38 Magic Resist  UNIQUE Passive: Revives your champion upon death, restoring 750 Health and 375 Mana (5 minute cooldown)."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Armor += 68.0
        self.parent.Magic_Resist += 38.0
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


